All Questions
3 questions
4votes
3answers
595views
Counting votes for candidates in a category and region
With the following code, I want to count the Vote objects from a collection, filtering on one of their fields, Candidate. I have the feeling that I can get this done much more efficiently. ...
2votes
2answers
223views
A trip down the single method interface rabbit hole
I responded to this question about designing around interdependant methods with the strategy pattern. Afterwards I started thinking about the functional additions to java 8 and wondered if I was ...
3votes
1answer
235views
Hangman game background image possibly inefficient
I'm making a Hangman game and it seems that my code doesn't provide me much freedom with using layouts. I added an image to my JFrame then I added a ...